/*
 *  微信： tornodo
 *  博客：https://www.jianshu.com/u/1b05a5363c32
 *  微信公众号： 工匠前沿
 */

require('pixi.js');
require('phaser');

import { BootScene, PreloadScene, MenuScene, StartScene, StopScene } from './scene';

const game = new Phaser.Game(800, 600, Phaser.AUTO, 'game');
game.state.add('boot', BootScene);
game.state.add('preloader', PreloadScene);
game.state.add('menu', MenuScene);
game.state.add('startGame', StartScene);
game.state.add('stopGame', StopScene);
game.state.start('boot');